package com.hui.qiniucloud.service;

import com.hui.qiniucloud.entity.AICharacter;
import reactor.core.publisher.Flux;

import java.util.List;
import java.util.Map;

/**
 * 豆包AI服务接口
 * 
 * @author huihui
 * @since 2025-09-28
 */
public interface IDoubaoService {

    /**
     * 与AI角色进行流式聊天
     * @param message 用户消息
     * @param character AI角色
     * @param chatHistory 聊天历史
     * @return 响应流
     */
    Flux<String> chatStreamWithCharacter(String message, AICharacter character, List<Map<String, String>> chatHistory);
}